package cn.shenlong.portal.service;

import java.util.List;
import java.util.Map;

import cn.shenlong.common.Page;
import cn.shenlong.portal.domain.Event;
import cn.shenlong.portal.domain.EventImg;

public interface EventService {
	
		public Page<Event> findPageByParm(Map<String, Object> otherParm, Integer pageNo, Integer pageSize);
		
		public Event findByPk(Integer EventId);
		
		public Integer save(Event event);
		
		public void update(Event event);
		
		public void deleteByIds(Integer id[]);
		
		public List<Event> findByList(Map<String, Object> otherParm,Integer count);
		
		public List<EventImg> findImgs(Map<String, Object> otherParm,Integer count);
		
		public void saveImgs(EventImg eventImg) ;
		
		public void saveImgs(String[] url,String[] desc,Integer eventId) ;
		
		public void deleteImgs(Integer id[]);
		
		public void deleteByEventId(Integer eventId);
		
		
}
